export default function myAwait(receiver, promise, errHandler){
    let onFulfilled = value => receiver.value = value;
    let onRejected = e => errHandler(e);
    promise.then(onFulfilled, onRejected);
}
